<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>样式继承与叠加</title>
	<style>
		body{
			color: red;
			font-size: 50px;
			width: 200px;
		}
		p{
			color: blue !important;
		}
		.title{
			color: yellow;
		}
		#name{
			color: green;
		}
		body p{
			color: red;
		}
	</style>
</head>
<body>
	<p class="title" id="name" style="color:pink">学并思</p>
</body>
</html>